package com.siti.kindnessplatform.base.ctrl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.siti.kindnessplatform.base.biz.DonateCountBiz;
import com.siti.kindnessplatform.base.po.DonateCount;

@RestController
@RequestMapping("donateCount")
public class DonateCountCtrl {

	@Resource
    private DonateCountBiz donateCountBiz;

    @GetMapping(value = "findDonateCount")
    public List<DonateCount> findDonateCount(){
		return donateCountBiz.findDonateCount();
	}
}
